package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Deposit;

/**
 * Service for Deposit logic
 * 
 * @author Fernand Perelli
 * 
 */
public interface DepositService {

	/**
	 * Save method
	 * 
	 * @param deposit
	 * @return Deposit
	 */
	public Deposit save(Deposit deposit);

	/**
	 * Update method
	 * 
	 * @param deposit
	 */
	public void update(Deposit deposit);

	/**
	 * Delete method
	 * 
	 * @param deposit
	 */
	public void delete(Deposit deposit);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Deposit
	 */
	public Deposit findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Deposit>
	 */
	public Collection<Deposit> findAll();
}
